package com.xiaotu.common.model;

import com.xiaotu.common.util.UUIDUtils;

/***
 * 猫眼票房明细
 * @author 
 *
 */
public class MaoYanMovieBoxDetailModel extends MaoYanMovieBasicInfoModel {
	
	private String siteName;//网站名称
	private String playDate;//播放日期
	private String playWeekDate;//周几
	private String broadCastType;//播放类型
	private String splitBox;//分账票房
	private String splitBoxRatio;//分账票房占比
	private String splitTicketPrice;//分账票价
	private String sliceRatio;//排片占比
	private String largeScaleRefund;//大盘退票人次
	private String largeScaleRefundRatio;//大盘退票率
	private String maoYanRefund;//猫眼退票人次
	private String maoYanRefundRatio;//猫眼退票率
	private String avgNum;//场均人次
	private String netSaleRatio;//网售占比
	private String goldenRatio;//黄金占比
	private String screen;//场次
	private String seatRatio;//排座占比
	private String seatNum;//座位数
	private String totalBox;//综合票房
	private String totalBoxRatio;//综合票房占比
	private String totalTicketPrice;//综合票价
	private long collectTime;
	
	
	public MaoYanMovieBoxDetailModel(String tvid, String tvname,String dataid,String siteName, String playDate, String playWeekDate,
			String broadCastType, String splitBox, String splitBoxRatio, String splitTicketPrice, String sliceRatio,
			String largeScaleRefund, String largeScaleRefundRatio, String maoYanRefund, String maoYanRefundRatio,
			String avgNum, String netSaleRatio, String goldenRatio, String screen, String seatRatio, String seatNum,
			String totalBox, String totalBoxRatio, String totalTicketPrice) {
		super(UUIDUtils.getId(),tvid,tvname,dataid);
		this.siteName = siteName;
		this.playDate = playDate;
		this.playWeekDate = playWeekDate;
		this.broadCastType = broadCastType;
		this.splitBox = splitBox;
		this.splitBoxRatio = splitBoxRatio;
		this.splitTicketPrice = splitTicketPrice;
		this.sliceRatio = sliceRatio;
		this.largeScaleRefund = largeScaleRefund;
		this.largeScaleRefundRatio = largeScaleRefundRatio;
		this.maoYanRefund = maoYanRefund;
		this.maoYanRefundRatio = maoYanRefundRatio;
		this.avgNum = avgNum;
		this.netSaleRatio = netSaleRatio;
		this.goldenRatio = goldenRatio;
		this.screen = screen;
		this.seatRatio = seatRatio;
		this.seatNum = seatNum;
		this.totalBox = totalBox;
		this.totalBoxRatio = totalBoxRatio;
		this.totalTicketPrice = totalTicketPrice;
		this.collectTime = System.currentTimeMillis();
	}

	public MaoYanMovieBoxDetailModel() {
		super();
	}
	
	
	public String getSiteName() {
		return siteName;
	}
	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}
	public String getPlayDate() {
		return playDate;
	}
	public void setPlayDate(String playDate) {
		this.playDate = playDate;
	}
	public String getPlayWeekDate() {
		return playWeekDate;
	}
	public void setPlayWeekDate(String playWeekDate) {
		this.playWeekDate = playWeekDate;
	}
	
	public String getBroadCastType() {
		return broadCastType;
	}

	public void setBroadCastType(String broadCastType) {
		this.broadCastType = broadCastType;
	}

	public String getSplitBox() {
		return splitBox;
	}
	public void setSplitBox(String splitBox) {
		this.splitBox = splitBox;
	}
	public String getSplitBoxRatio() {
		return splitBoxRatio;
	}
	public void setSplitBoxRatio(String splitBoxRatio) {
		this.splitBoxRatio = regexStr(splitBoxRatio);
	}
	public String getSplitTicketPrice() {
		return splitTicketPrice;
	}
	public void setSplitTicketPrice(String splitTicketPrice) {
		this.splitTicketPrice = splitTicketPrice;
	}
	public String getSliceRatio() {
		return sliceRatio;
	}
	public void setSliceRatio(String sliceRatio) {
		this.sliceRatio = regexStr(sliceRatio);
	}
	public String getLargeScaleRefund() {
		return largeScaleRefund;
	}
	public void setLargeScaleRefund(String largeScaleRefund) {
		this.largeScaleRefund = regexStr(largeScaleRefund);
	}
	public String getLargeScaleRefundRatio() {
		return largeScaleRefundRatio;
	}
	public void setLargeScaleRefundRatio(String largeScaleRefundRatio) {
		this.largeScaleRefundRatio = regexStr(largeScaleRefundRatio);
	}
	public String getMaoYanRefund() {
		return maoYanRefund;
	}
	public void setMaoYanRefund(String maoYanRefund) {
		this.maoYanRefund = maoYanRefund;
	}
	public String getMaoYanRefundRatio() {
		return maoYanRefundRatio;
	}
	public void setMaoYanRefundRatio(String maoYanRefundRatio) {
		this.maoYanRefundRatio = regexStr(maoYanRefundRatio);
	}
	public String getAvgNum() {
		return avgNum;
	}
	public void setAvgNum(String avgNum) {
		this.avgNum = avgNum;
	}
	public String getNetSaleRatio() {
		return netSaleRatio;
	}
	public void setNetSaleRatio(String netSaleRatio) {
		this.netSaleRatio = regexStr(netSaleRatio);
	}
	public String getGoldenRatio() {
		return goldenRatio;
	}
	public void setGoldenRatio(String goldenRatio) {
		this.goldenRatio = regexStr(goldenRatio);
	}
	public String getScreen() {
		return screen;
	}
	public void setScreen(String screen) {
		this.screen = screen;
	}
	public String getSeatRatio() {
		return seatRatio;
	}
	public void setSeatRatio(String seatRatio) {
		this.seatRatio = regexStr(seatRatio);
	}
	public String getSeatNum() {
		return seatNum;
	}
	public void setSeatNum(String seatNum) {
		this.seatNum = seatNum;
	}
	public String getTotalBox() {
		return totalBox;
	}
	public void setTotalBox(String totalBox) {
		this.totalBox = totalBox;
	}
	public String getTotalBoxRatio() {
		return totalBoxRatio;
	}
	public void setTotalBoxRatio(String totalBoxRatio) {
		this.totalBoxRatio = regexStr(totalBoxRatio);
	}
	public String getTotalTicketPrice() {
		return totalTicketPrice;
	}
	public void setTotalTicketPrice(String totalTicketPrice) {
		this.totalTicketPrice = totalTicketPrice;
	}
	public long getCollectTime() {
		return collectTime;
	}
	public void setCollectTime(long collectTime) {
		this.collectTime = collectTime;
	}
	
	public String regexStr(String str){
		String regex = "[<>]";
		return str.replaceAll(regex,"").trim();
	}
	
	
}
